package com.carsa.blackberry;

import java.util.Vector;

import com.carsa.blackberry.domain.dto.DriverDTO;
import com.carsa.blackberry.domain.dto.DriversQueueDTO;
import com.carsa.blackberry.domain.services.webServices.impl.ZSdareEntrega.ZsdareEntrega;
import com.carsa.blackberry.domain.services.webServices.impl.ZSdareMotivos.ZSdareMotivo;
import com.carsa.blackberry.domain.services.webServices.impl.ZSdareMotivos.ZsdareMotivost;

public class Dummy {

    private static DriverDTO createDriver(String driverName, String legajoAyudante, String puesto, String zona) {
	return new DriverDTO(driverName, legajoAyudante, puesto, zona);
    }

    public static Vector getUsersInDriverDTOVector() {
	Vector ret = new Vector();

	ret.addElement(createDriver("Nahuel Barrios", "01", "C", "M065"));
	ret.addElement(createDriver("Juan Pablo Fiori", "002", "C", "M065"));
	ret.addElement(createDriver("Mariano D'agostino", "0003", "A", "M065"));

	return ret;
    }
    
    public static Vector getEntregas() {
	Vector ret = new Vector();
	ret.addElement(new ZsdareEntrega("2000002038", "0080130824", "GIORDANO", "WALTER OMAR", "AGUSTIN ANDRIANI 35 RESISTENCIA", "3722-15620961",
	        "SAN FERNANDO", "000010", "000000000000111616", "SPLIT 553TGH1205/7 3000FS", 1));
	ret.addElement(new ZsdareEntrega("2000002038", "0080130824", "GIORDANO", "WALTER OMAR", "AGUSTIN ANDRIANI 35 RESISTENCIA", "3722-15620961",
	        "SAN FERNANDO", "000010", "000000000000111616", "SPLIT 553TGH1205/7 3000FS", 1));
	ret.addElement(new ZsdareEntrega("2000002038", "0080130824", "GIORDANO", "WALTER OMAR", "AGUSTIN ANDRIANI 35 RESISTENCIA", "3722-15620961",
	        "SAN FERNANDO", "000020", "000000000000111616", "SPLIT 553TGH1205/7 3000FS", 1));
	ret.addElement(new ZsdareEntrega("2000002038", "0080130824", "GIORDANO", "WALTER OMAR", "AGUSTIN ANDRIANI 35 RESISTENCIA", "3722-15620961",
	        "SAN FERNANDO", "000020", "000000000000111616", "SPLIT 553TGH1205/7 3000FS", 1));
	ret.addElement(new ZsdareEntrega("2000002038", "0080130824", "GIORDANO", "WALTER OMAR", "AGUSTIN ANDRIANI 35 RESISTENCIA", "3722-15620961",
	        "SAN FERNANDO", "000020", "000000000000111616", "SPLIT 553TGH1205/7 3000FS", 1));
	ret.addElement(new ZsdareEntrega("2000002038", "0080130824", "GIORDANO", "WALTER OMAR", "AGUSTIN ANDRIANI 35 RESISTENCIA", "3722-15620961",
	        "SAN FERNANDO", "000030", "000000000000111617", "SPLIT 553TGQ1205/7 3000FC", 1));
	ret.addElement(new ZsdareEntrega("2000002038", "0080130824", "GIORDANO", "WALTER OMAR", "AGUSTIN ANDRIANI 35 RESISTENCIA", "3722-15620961",
	        "SAN FERNANDO", "000030", "000000000000111617", "SPLIT 553TGQ1205/7 3000FC", 1));
	ret.addElement(new ZsdareEntrega("2000002038", "0080130824", "GIORDANO", "WALTER OMAR", "AGUSTIN ANDRIANI 35 RESISTENCIA", "3722-15620961",
	        "SAN FERNANDO", "000030", "000000000000111617", "SPLIT 553TGQ1205/7 3000FC", 1));
	ret.addElement(new ZsdareEntrega("2000002038", "0080130824", "GIORDANO", "WALTER OMAR", "AGUSTIN ANDRIANI 35 RESISTENCIA", "3722-15620961",
	        "SAN FERNANDO", "000030", "000000000000111617", "SPLIT 553TGQ1205/7 3000FC", 1));
	ret.addElement(new ZsdareEntrega("2000002038", "0080130825", "GIORDANO", "WALTER OMAR", "AGUSTIN ANDRIANI 35 RESISTENCIA", "3722-15620961",
	        "SAN FERNANDO", "000010", "000000000000111617", "SPLIT 553TGQ1205/7 3000FC", 1));
	ret.addElement(new ZsdareEntrega("2000002038", "0080130825", "GIORDANO", "WALTER OMAR", "AGUSTIN ANDRIANI 35 RESISTENCIA", "3722-15620961",
	        "SAN FERNANDO", "000010", "000000000000111617", "SPLIT 553TGQ1205/7 3000FC", 1));
	ret.addElement(new ZsdareEntrega("2000002038", "0080130825", "GIORDANO", "WALTER OMAR", "AGUSTIN ANDRIANI 35 RESISTENCIA", "3722-15620961",
	        "SAN FERNANDO", "000020", "000000000000111617", "SPLIT 553TGQ1205/7 3000FC", 1));
	ret.addElement(new ZsdareEntrega("2000002038", "0080130825", "GIORDANO", "WALTER OMAR", "AGUSTIN ANDRIANI 35 RESISTENCIA", "3722-15620961",
	        "SAN FERNANDO", "000020", "000000000000111617", "SPLIT 553TGQ1205/7 3000FC", 1));
	ret.addElement(new ZsdareEntrega("2000002038", "0080130825", "GIORDANO", "WALTER OMAR", "AGUSTIN ANDRIANI 35 RESISTENCIA", "3722-15620961",
	        "SAN FERNANDO", "000030", "000000000000111616", "SPLIT 553TGH1205/7 3000FS", 1));
	ret.addElement(new ZsdareEntrega("2000002038", "0080130825", "GIORDANO", "WALTER OMAR", "AGUSTIN ANDRIANI 35 RESISTENCIA", "3722-15620961",
	        "SAN FERNANDO", "000030", "000000000000111616", "SPLIT 553TGH1205/7 3000FS", 1));
	
	return ret;
    }

    public static DriversQueueDTO getLegajos() {

	DriversQueueDTO drivers= new DriversQueueDTO();
	Vector vec= new Vector();
	vec.addElement(new DriverDTO("Nahuel Barrios", "001000", "C", "M065"));
	vec.addElement(new DriverDTO("Alguien con apellido", "001234", "A", "M065"));
	drivers.setDrivers(vec);
	
	return drivers;
    }

    public static ZsdareMotivost getMotivos() {
ZsdareMotivost motivost= new ZsdareMotivost();

ZSdareMotivo[] motivos= new ZSdareMotivo[]{
	new ZSdareMotivo("Z01", "descript", "01", "secondDescript", "X")
	, new ZSdareMotivo("Z01", "descript", "02", "secondDescript", "X")
	, new ZSdareMotivo("Z01", "descript", "03", "secondDescript", "X")
	, new ZSdareMotivo("Z02", "descript", "01", "secondDescript", "")
	, new ZSdareMotivo("Z02", "descript", "02", "secondDescript", "")
};

motivost.setItem(motivos);

	return motivost;
    }

}
